package com.ruihu.admin.module.business.tasknode.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 获取极组附件
 */
@Data
public class GetPoleGroupFileRequestDTO {

    @ApiModelProperty("子任务ID")
    @NotNull(message = "子任务ID不能为空")
    private Long subTaskId;

    @ApiModelProperty("任务节点ID")
    @NotNull(message = "任务节点ID不能为空")
    private Long taskNodeId;

    @ApiModelProperty("任务节点实例ID")
    @NotNull(message = "任务节点实例ID不能为空")
    private Long taskNodeInstId;

    @ApiModelProperty("子任务节点实例ID")
    private Long subTaskNodeInstId;

    @ApiModelProperty("元素关联ID")
    private Long processRelationId;

    @ApiModelProperty("电芯编号")
    @NotEmpty(message = "电芯编号不能为空")
    private String electricCoreCode;

    @ApiModelProperty("极组编号")
    @NotEmpty(message = "极组编号不能为空")
    private String poleGroupNumber;

    @ApiModelProperty("强制获取")
    private byte mandatoryReGet;
}
